package com.yuexunxinxi.carefree.entity;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.yuexunxinxi.carefree.utils.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 作者: 李咨辰
 * 文件名: Carousel.java
 * 路径: com.yuexunxinxi.carefree.entity
 * 时间: 2024-10-10 10:24
 * 版本: 1.0
 * 描述: TODO 轮播图
 **/
@JsonInclude(JsonInclude.Include.NON_NULL)
@EqualsAndHashCode(callSuper = true)
@Data
public class ACarousel extends BaseEntity {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;//编号
    private String title;//标题
    private String content;//内容
    private String url;//图片连接
}
